//
//  GMLTimer.h
//  Camera
//
//  Created by gml on 2018/12/27.
//  Copyright © 2018年 gml. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GMLTimer : NSObject
+ (NSString *)execTask:(void(^)(void))task
                 start:(NSTimeInterval)start
              interval:(NSTimeInterval)interval
               repeats:(BOOL)repeats
                 async:(BOOL)async;

+ (void)cancelTask:(NSString *)name;
@end
